package com.xuecheng.auth.feign;


import com.xuecheng.framework.client.XcServiceList;
import com.xuecheng.framework.domain.ucenter.ext.XcUserExt;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 远程调用
 * @see com.xuecheng.ucenter.controller.UcenterController
 */
@FeignClient(XcServiceList.XC_SERVICE_UCENTER)
public interface UcenterControllerFeign {
    @RequestMapping("/ucenter/getUserExt")
    XcUserExt getUserExtByUserName(@RequestParam("name")String userName);
}
